Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Adding the new class to the AppBuilder
The AppBuilder provides access to a Palette that you use to select existing objects to add to a design window and a New… menu item and button to create new objects. The definitions of all the objects on the palette and in the New dialog box are defined in a set of text files called custom files that the AppBuilder reads in when it starts. You can extend these files using a text editor to define new types of objects and individual specialized objects. These files have a filename extension of
.cstand are typically located in thesrc/templatedirectory. If you select the MenucUse Custom option in the palette, you see a list of the files the AppBuilder reads to build the Palette and the New dialog box.This object information is also stored in the Repository database, and you can maintain the information through Repository tools rather than manually editing the text files. When you create a new Repository database, the information represented in the standard
.cstfiles is already in the Repository. If you choose the MenuUse Custom option in the Palette window, you see a list of Repository classes.
Adding a template object record to the Repository
When you create a new class, you must make it available to your application using the AppBuilder. To make a class available, you add a template object record that represents your new class to the Repository.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |